From dee75bce2dc1cede3d4da79507cb20e6e08a7fdc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Jul 2015 23:54:39 -0400 Subject: [PATCH] Fix distcheck Makefile.decl does not work well with scripts that stay in srcdir, so generate test-simplify from test-simplify.in, just os that it ends up in builddir. --- testsuite/tools/Makefile.am | 6 +++++- testsuite/tools/{test-simplify => test-simplify.in} | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename testsuite/tools/{test-simplify => test-simplify.in} (100%) diff --git a/testsuite/tools/Makefile.am b/testsuite/tools/Makefile.am index 786bcccabb..c0fc0c3cdd 100644 --- a/testsuite/tools/Makefile.am +++ b/testsuite/tools/Makefile.am @@ -15,7 +15,7 @@ test_simplify = \ EXTRA_DIST += \ $(test_simplify) \ - test-simplify \ + test-simplify.in \ $(NULL) TESTS_ENVIRONMENT = \ @@ -25,6 +25,9 @@ TEST_PROGS += \ test-simplify \ $(NULL) +test-simplify:test-simplify.in + $(AM_V_GEN) cp $< $@ + if BUILDOPT_INSTALL_TESTS insttestdir = $(libexecdir)/installed-tests/$(PACKAGE) insttest_SCRIPTS = $(TEST_PROGS) @@ -39,6 +42,7 @@ test-simplify.test: test-simplify Makefile test_files = $(TEST_PROGS:=.test) DISTCLEANFILES = \ + test-simplify \ $(test_files) \ $(NULL) diff --git a/testsuite/tools/test-simplify b/testsuite/tools/test-simplify.in similarity index 100% rename from testsuite/tools/test-simplify rename to testsuite/tools/test-simplify.in -- 2.30.2